package com.dnzx.service;

import com.dnzx.model.BannerBO;
import org.dnzx.framework.page.PageResult;

import java.util.List;

/**
 * Banner管理
 */
public interface IBannerService {

	public void save(BannerBO bannerBO) throws Exception ;

	public void delete(Long id) throws Exception ;

	public void update(BannerBO bannerBO) throws Exception ;

	public BannerBO get(Long id);

	public BannerBO get(BannerBO bannerBO);

	public List<BannerBO> queryList(BannerBO bannerBO);

	public PageResult<List<BannerBO>> queryPage(BannerBO bannerBO, PageResult<List<BannerBO>> pageResult);

}
